import $ from 'jquery';
import { useJquery } from '../src/index';
import App from './App.jq';
import Mybtn from './components/Mybtn.jq';
import routers from './router/index';

useJquery($);

// 注册全局组件
$.component('Mybtn', Mybtn);
// 注册路由
$.router(routers);

const mounted = () => {
  // 挂载页面
  $("body").html(App);
}

mounted();

export default mounted;